#region Copyright
/// <copyright>
/// Copyright (c) 2007 Ilia Shramko.
/// Released under the terms of the GNU General Public License.
/// </copyright>
#endregion

using System;
using System.Collections.Generic;
using System.Text;

using Osh.Media;

namespace Osh
{
	public interface IOsh
	{
		bool Visible { get; set; }
		int Left { get; }
		int Top { get; }
		int Width { get; }
		int Height { get; }
		int TransparentColor { get; set; }

		string Mode { get; set; }
		MediaController MediaController { get; }

		void SetBounds(int x, int y, int width, int height);
		void Refresh();

		event EventHandler Show;
		event EventHandler Hide;
		event EventHandler BoundsChanged;
		event EventHandler<ModeChangeEventArgs> ModeChanging;
		event EventHandler<ModeChangeEventArgs> ModeChanged;
		event EventHandler<OshCommandEventArgs> Command;
	}
}
